package org.qiyu.live.user.interfaces;

import org.qiyu.live.user.constants.UserTagsEnum;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2023-09-22
 * Time: 22:47
 */
public interface IUserTagRpc {

    /**
     * 设置标签
     *
     * @param userId      用户id
     * @param userTagEnum 用户标签
     */
    boolean setTag(Long userId, UserTagsEnum userTagEnum);

    /**
     * 取消标签
     *
     * @param userId      用户id
     * @param userTagEnum 用户标签
     * @return
     */
    boolean cancelTag(Long userId, UserTagsEnum userTagEnum);


    /**
     * 是否包含某个标签
     *
     * @param userId      用户id
     * @param userTagEnum 用户标签
     */
    boolean containsTag(Long userId, UserTagsEnum userTagEnum);
}
